package com.roomio.core.model;

import java.util.Date;

import javax.persistence.Transient;

import com.roomio.core.model.BaseObject;

public class NameValue extends BaseObject {
	
	private Long value;
	private String displayName;
	
	
	public NameValue() {
		super();
	}

	public NameValue(Long value, String displayName) {
		super();
		this.value = value;
		this.displayName = displayName;
	}

	public NameValue(Integer value, String displayName) {
		super();
		this.value = value.longValue();
		this.displayName = displayName;
	}
	
	public Long getValue() {
		return value;
	}
	public void setValue(Long value) {
		this.value = value;
	}
	public String getDisplayName() {
		return displayName;
	}
	public void setDisplayName(String displayName) {
		this.displayName = displayName;
	}
	@Override
	public String toString() {
		return "NameValue [value=" + value + ", displayName=" + displayName + "]";
	}

	
	
}
